const { defineConfig } = require('@vue/cli-service')

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
module.exports = defineConfig({
  transpileDependencies: true,
    // ??
    configureWebpack: {
        plugins: [new NodePolyfillPlugin()],
    },
  devServer:{
    port: 7000
  },
  chainWebpack: config => {
    config.plugin('html')
        .tap(args => {
          args[0].title = "学生选课信息管理系统";
          return args;
        })
  },


})

